package com.atguigu.boot.config;

import com.atguigu.boot.entity.MyBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName MyBeanConfig
 * @Description 此类描述:
 * @Author dangchen
 * @DateTime 2022-09-13 19:17
 * @Version 1.0
 */
//@Configuration
public class MyBeanConfig {
    @Bean
    public MyBean myBean(){
        return new MyBean(3,"MyBean--ok");
    }
}
